Repository navigation
Retire gtk macos - #26
Merged
Merged
Conversation
The AppKit provider passes its contract against a real window server session on both hosted architectures, 93 checks each, so the macOS GTK path has nothing left to do. It was also never viable: a GTK process on macOS never runs -[NSApplication run], and AppKit answers accessibility requests from the main run loop, so every accessibility query against one fails -- including the application element's own role -- and the process is invisible to assistive technology and to directed input. Removed: the macOS half of the GTK provider, the private provider build, runtime and directed-probe scripts with their control tests, the provider lock file, and the macos-gtk-provider workflow. ui_runtime.cpp is now the Linux provider only, and since CMake selects Win32 on Windows and AppKit on macOS it carries no platform conditionals at all; the remaining conditionals were removed by evaluating them rather than by editing line ranges. docs/standard-library/ui.md no longer asks macOS users for NIL_UI_GTK_DIRECTORY and a GTK runtime, and platform support records the AppKit result. Linux is unchanged at 572 registered, 0 failed and 3 environment skips. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nil.ui-display skipped on macOS because the contract required Linux, Xvfb and xauth. macOS has no detachable display to create, so the Darwin path uses the runner's own window server session and skips only when there is none, which is a missing session rather than a provider fault. It runs the provider fixture, the lifecycle fixture and the Matrix desktop suite, and asserts every language case passed. The lifecycle observer needed a macOS answer too. Its question is platform-neutral -- was a window really released, or merely invalidated -- so only the answerer changes: AppKit is asked for the application's windows, which counts them whether or not they are on screen, as GTK's registry does. Its retired GTK-on-macOS branch, which dlopened dylibs from NIL_UI_GTK_DIRECTORY, is gone. The observer is Objective-C++ on Darwin, so the lifecycle fixture is compiled as Objective-C++ there. The interaction suite is deliberately not part of the macOS contract and the contract says so when it passes. That suite delivers keystrokes to another process, and macOS requires accessibility trust for posting events across processes, which a hosted runner does not grant; the limit is cross-process injection, not the provider. Real input belongs in an in-process probe like the Win32 fixture's, which is the next step. The workflow gains a scope input: provider keeps the minutes-long provider check, display builds the compiler, interpreter and test runner and runs the language-level contract. Linux is unchanged at 572 registered, 0 failed and 3 environment skips. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.